.ant-message {
}
.ant-message-notice {
  .ant-message-notice-content {
    padding: 0;

    border-radius: 10px;
    border-color: #1c4064;
    border: 1px solid #4fa6e5;
    box-shadow: 0 0 20px 5px rgba(56, 103, 149, 0.75);
    background: url('@/assets/images/message-bg.png') 0 0 / 100% 100% no-repeat;
    box-sizing: border-box;
    line-height: 0;
  }

  .ant-message-custom-content {
    display: inline-flex;
    justify-content: center;
    align-items: stretch;
    .anticon {
      width: 50px;
      background-color: #4fb750;
      border: none;
      border-radius: 10px 0 0 10px;
      position: relative;
      align-self: stretch;
      margin: 0;

      svg {
        display: none;
      }

      &::after {
        content: '';
        width: 22px;
        height: 22px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: url('@/assets/images/message-success.png') 50% no-repeat;
        background-size: contain;
      }
    }

    span:nth-child(2) {
      font-size: 17px;
      font-family: Microsoft YaHei, Avenir, Helvetica, Arial, sans-serif;
      -webkit-font-smoothing: antialiased;
      font-weight: 400;
      color: #fff;
      min-width: 200px;
      max-width: 350px;
      min-height: 80px;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 15px;
      border-radius: 0 10px 10px 0;
    }
  }
  .ant-message-custom-content.ant-message-warning {
    .anticon-exclamation-circle {
      background-color: #ffb71b !important;
      &::after {
        background: url('@/assets/images/message-warining.png') contain no-repeat;
      }
    }
  }
  .ant-message-custom-content.ant-message-error {
    .anticon-close-circle {
      background-color: #fd5257 !important;
      &::after {
        background: url('@/assets/images/message-error.png') contain no-repeat;
        border-radius: 50%;
      }
    }
  }
}